package com.sanshi.fileserver.service;

import com.sanshi.fileserver.bean.Student;
import com.sanshi.fileserver.bean.Teacher;
import com.sanshi.fileserver.bean.TeacherBindCclass;
import com.sanshi.fileserver.vo.PageGet;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

public interface TeacherService {

    List<Teacher> findAllNoInClass(Integer clasId);

    Teacher findOneByTeaId(Integer id);

    Integer Login(String name, String pass, Integer identity, HttpServletRequest request);

    List<Teacher> findTeacherByClassId(Integer classId);

    List<Teacher> findAdmin();

    Map finTeachers(PageGet val, HttpServletRequest request);

    void deleteByTeaId(Integer id);

    Teacher save(Teacher teacher);

    List<Teacher> findAll();

    List<Integer> findAllByTeacherId(Integer id);

      void   deleteTeacherBindClass(Integer id);

}
